package com.iplay.component.excel;

import java.io.InputStream;
import java.util.List;
import java.util.function.Predicate;

import com.iplay.component.excel.exception.ExcelIOException;


public interface ExcelReader {
	
	<T> List<T> loadAll(InputStream excel, Class<T> holderClass) throws ExcelIOException;
	
	<T> List<T> filter(InputStream excel, Class<T> holderClass, Predicate<T> predicate) throws ExcelIOException;
}
